home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MacWorld: Complete Mac Interactive
/
Macworld Complete Mac Interactive CD)(1994).iso
/
Software
/
More Shareware⁄Freeware
/
Telecom Tools
/
Express Modem 14.4 ver 1.0
/
Express Modem 14.4 ver 1.0.rsrc
/
TEXT_129.txt
< prev
next >
Wrap
Text File
|
1994-03-21
|
8KB
|
208 lines
Standard AT commands
AT The attention command prefix
The prefix AT must precede every command. The remainder
of the command line contains commands for the modem. The
command line must end with a carriage return. If AT is sent
alone (that is, it is followed by a <CR>) then no command is
executed but an OK result code is returned.
A Answer
The A command forces the modem to go off-hook in answer
mode.
Bn Communication protocol category preference
This command determines which communication standard is
preferred for the next connection.
0 CCITT mode
1 Bell 103 and Bell 212A, instead of V.21 and V.22, in case of
fallback (default)
D Dial
This command signals the modem that the numbers, letters, and
commas that follow are all part of a telephone number that it
should dial.
T Touch-Tone dialing
This causes all following numbers to be Touch-Tone dialed
(default).
P Pulse dialing
Selects pulse dialing, with the dialing speed fixed at 10 pulses
per second.
Pause
The comma (,) modifier introduces a delay time before dialing
the next dial character or executing the next character in the
dial string. The pause time is the value of the S8 register,
(default=2 seconds).
W Dial tone detect
The W modifier makes the modem detect a dial tone before
sending the next digit.
Calling Card tone detect(:)
Same as W. The colon can detect most calling card tones.
Place the colon in the dial string when you want to detect a
wider range of frequencies.
@ Wait for quiet answer before dialing
For the time specified in the S7 register (default=50 seconds),
the modem attempts to detect 5 seconds of silence.
Flash
The exclamation point (!) causes the modem to go on-hook then
back off-hook, as if the receiver on the telephone set had been
pressed momentarily.
R Reverse mode
The R modifier changes the modem from originate mode to
answer mode after the dialing process is complete. This
command is used only at the end of the dial string.
S=n
Dial telephone number stored at location n
Dials telephone number stored in location n, where n is
0, 1,or 2. You must have previously saved the value with
the AT&Z command.
En Echo off/on
When the echo is turned on, the characters sent to the modem
in command state are echoed back by the modem to the host
computer. The E command is functional only when the modem
is in command state.
0 Turns off the echo command.
1 Turns on the echo command. This allows you to see that
characters you have sent to the modem have been received
and sent back. (default)
Hn Hook (hang up)
When the modem is on-line, you must first enter the +++ escape
sequence to take the modem back to command state before
issuing the hang up command, ATH.
0 Forces the modem on-hook. Hangs up the modem’s connection to
the telephone line.
1 Forces the modem off-hook.
In Information
0 Asks the modem for its product ID code.
1 Returns a modem code.
2 Returns OK.
3 Returns the modem’s country code.
4 Returns a list of modem features.
9 Returns Apple product code and firmware version of the modem.
Ln Speaker volume
This command has no effect as the speaker is a component
of the Macintosh and set in the Sound control panel. The
command is included for compatibility.
Mn Speaker on/off/auto
0 Disables speaker.
1 Turns on the speaker until carrier is established. (default)
2 Leaves the speaker on throughout the entire connection.
3 Turns the speaker on until a carrier is detected, except during
dialing.
Nn Communication protocol preference
Sets the modem protocol.
0 Use S37 for speed selection. If S37=0, connect at highest
possible speed. Otherwise, connect at speed specified in S37.
(default)
1 Connect at highest possible speed. Ignore S37. Fallback if
necessary.
2 Same as N1 for compatibility reasons.
Note: For N1 or S37=0, the setting of ATB is ignored.
The modem automatically determines Bell or CCITT mode.
On Return to on-line state
Returns modem to on-line state from command state.
0 Is used to return to the on-line state after having entered the
command state using the escape sequence.
1 Same as above and will retrain the carrier (possibly at a lower
speed) before reentering on-line state.
P Enable pulse dialing
Sets the default dialing mode to pulse mode. This command
can also be used as a subcommand of the D command.
Qn Quiet (refer to command Vn)
0 Allows result codes to be sent to your screen. (default)
1 Turns off the result code messages.
2 Returns result codes when originating a call, but not when
answering.
Sn Select an S register
The S registers refer to memory locations used for
configuration. The S commands are used to assign values
to various registers in the modem’s memory.
n?The Sn? command (n=register number) is used for checking the
contents of a register. The result is always expressed as a
three-digit number, where the leading digits or all digits may
be 0.
Sn=r is used to change an S register value (where n is the number
of the register and r is the assigned value).
T Enable tone (DTMF) dialing
Sets the default dialing mode to Touch-Tone mode. Can be
used in dial string (default).
Vn Verbalize
The V command allows you to choose the way you want to
display result messages: as code numbers or as English words.
Unless these messages are being read by a program that does
not easily recognize strings of characters, the default setting
(V1) is recommended
0 Displays result messages as code numbers (nonverbal).
1 Displays result messages as English words (verbal). (default)
Wn Progress result codes
The ATW setting determines whether progress result codes
are displayed in addition to the ATX codes. Register S95
determines which progress result codes will be displayed.
0 Progress codes 40 through 80 disabled.
1 Progress codes 40 through 80 enabled. (default)
2 Progress codes enabled; identical to W1.
When writing a CCL script, pay attention to result codes for
scripts that require a specific response. If progress codes
are enabled, the following strings appear on the screen during
a connection (in this example, V.22 bis connection with no
error control):
CARRIER 2400
PROTOCOL:NONE
CONNECT 2400
Xn Active result code
The result codes listed in Vn are divided into subsets that
can be selected by the X command. Dial tone detection is
enabled by X2 and X4. Busy tone detection is
enabled by X3 and X4. The commands X0, X1, and
X3 are appropriate for blind dialing. Blind dialing means the
modem dials out even though a dial tone cannot be detected.
0 Selects result codes 0 through 4 and 8.
1 Selects result codes 0 through 5, 8, and 10 through 28.
2 Selects result codes 0 through 6, 8, and 10 through 28.
3 Selects result codes 0 through 5, 7, 8, and 10 through 28.
4 Selects all result codes. (default)
Yn Remote break handling
This command sets modem behavior for responding to a long
break signal received from a remote modem:
Greater than 1.6 seconds for an asynchronous connection
An attention frame for MNP or V.42.
0 The modem ignores any long breaks received from the remote
modem. (default)
1On receiving a long break from the remote modem, the modem
goes on-hook (hangs up), and returns to command state.
2On receiving a long break from the remote modem, the modem
returns to command state, but remains connected to the remote
modem (does not hang up).
Zn Reset
The Z command tells the modem to perform a software reset.
0 Loads Profile 0 into the active profile.
1 Loads Profile 1 into the active profile.